package com.example.demo.mapper;

import com.example.demo.pojo.StuCom;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface StuComMapper {
    List<StuCom> listCom(Integer id, String cname);

    int addStuCom(StuCom stuCom);


    List<StuCom> listStudent(Integer id, String username);

    int upload(StuCom stuCom);

    int givePrize(Integer studentId, Integer competitionId);
}
